<!DOCTYPE HTML><html>
<body>
<textarea id="t" rows="4" style="-moz-appearance: none">

</textarea>
<script>
  var t = document.getElementById("t");
  t.selectionStart = t.selectionEnd = t.value.length;
  t.focus();
</script>
</body>
</html>
